﻿using SC;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Windows.Forms;

namespace TestSocket
{
    public partial class Form1 : Form
    {
        private SocketClient socketClient;
        public Form1()
        {
            InitializeComponent();

            socketClient = new SocketClient();
            socketClient.recvEvent += Recv;
            socketClient.clientConnect += ClientConnect;
        }
        public void Recv(Socket socketSend, SC.MessageType messageType, byte[] objBuf)
        {

        }
        private void ClientConnect()
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            socketClient.ConnectServer("192.168.0.211", 880);
        }
    }
}
